import request from '@/utils/request'

export const findRegion = (value) => {
  return request({
    url: `area?id=${value}`
  })
}

export const houseCondition = (value) => {
  return request({
    url: `houses/condition?id=${value}`
  })
}
export const getHouses = (params) => {
  return request({
    url: 'houses',
    params
  })
}
